home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
maximus
/
mul100.zip
/
MULVAREF.DOC
< prev
next >
Wrap
Text File
|
1992-09-02
|
7KB
|
161 lines
MUL INTERPRETER INTRINSIC VARIABLES LISTING
MAXIMUS USER RECORD FIELD VARIABLES AND FLAGS
----------------------------------------------------------------------
Note these the following are not a direct representation of the
Maximus 2.0x user file record structure. Several fields have been
omitted, and others are mapped to multiple virtual flags or
date/times.
Variable Name Type Description
------------------- ---------- -----------------------------------
USRname String - User's name - 35 char + null
USRcity String - User's location - 35 char + null
USRalias String - User's alias (handle) - 20 char + null
USRphone String - User's phone number - 14 char + null
USRlastreadptr Int - Message area lastread offset
USRtimeremaining Int - Time left for current call (xtern prog)
USRpwd String - Password - 15 char + null
USRcalls Int - Number of previous calls to this system
USRhelp Char - Help level
USRvideo Char - User's video mode (see GRAPH_XXXX)
USRnulls Char - Number of Nulls (delays) after <cr>
USRflaghotkeys Flag - Bits: Hotkeys, independent of HOTFLASH level
USRflagnotavail Flag - Bits: User is not available for chat
USRflagfsr Flag - Bits: Full-screen reading in msg areas
USRflagnerd Flag - Bits: Yell makes no noise on sysop console
USRflagnoulist Flag - Bits: Don't display name in userlist
USRflagbadlogon Flag - Bit2: If user's last logon attempt was bad
USRflagibmchars Flag - Bit2: If user can receive high-bit chars
USRflagbored Flag - Bit2: Use the line-oriented editor
USRflagmore Flag - Bit2: Wants the "MORE?" prompt
USRflagusedmax Flag - Bit2: Used Maximus before
USRflagcls Flag - Bit2: Set=transmit ^L, clear=ignore ^L
USRpriv Int - Access level
USRtimetoday Int - Time on-line so far today
USRflagdel Flag - Delflag flag: Set=deleted record
USRflagperm Flag - Delflag flag: Set=permanent record
USRwidth Char - Width of the caller's screen
USRlen Char - Height of the caller's screen
USRcredit Int - Matrix credit, in cents
USRdebit Int - Current matrix debit, in cents
USRxpflag Char - Flags for expiry type and method
USRxppriv Int - Priv to demote to, when time or minutes run
USRxpdate Int - Date of when user expires
USRxpmins Long - How many minutes before expiring
USRludate Int - Date of user's last call
USRlutime Int - Time of user's last call
USRkeys Long - User's 32 keys
USRlang Char - The user's current language number
USRdefprot Char - Default file-transfer protocol
USRupld Long - K-bytes uploaded, all calls
USRdnld Long - K-bytes downloaded, all calls
USRdnldtoday Long - K-bytes downloaded, today
USRmsg String - User's last msg area - 9 char + null
USRfiles String - User's last file area - 9 char + null
USRcompress Char - Default compression program to use
USRextra Long - External text comment pointer
MAXIMUS USER HELP MODE CONSTANTS
----------------------------------------------------------------------
HELP_HOTFLASH HELP_EXPERT HELP_REGULAR HELP_NOVICE
----------------------------------------------------------------------
MAXIMUS USER VIDEO MODE CONSTANTS
VIDEO_TTY VIDEO_ANSI VIDEO_AVATAR
----------------------------------------------------------------------
MAXIMUS USER PRIVILEDGE LEVEL CONSTANTS
TWIT DISGRACE LIMITED NORMAL WORTHY
PRIVIL FAVORED EXTRA CLERK ASSTSYSOP
SYSOP HIDDEN
----------------------------------------------------------------------
MAXIMUS USER EXPIRY BITMASK CONSTANTS
XP_DATE
XP_TIME
XP_DEMOTE
XP_HANGUP
XP_NONE
XP_DATE_DEMOTE
XP_DATE_HANGUP
XP_TIME_DEMOTE
XP_TIME_HANGUP
----------------------------------------------------------------------
MAXIMUS USER KEY BITMASK CONSTANTS
KEY1 KEY2 KEY3 KEY4 KEY5
KEY6 KEY7 KEY8 KEYA KEYB
KEYC KEYD KEYE KEYF KEYG
KEYH KEYI KEYJ KEYK KEYL
KEYM KEYN KEYO KEYP KEYQ
KEYR KEYS KEYT KEYU KEYV
KEYW KEYX KEYALL
----------------------------------------------------------------------
MAXIMUS USER TRANSFER PROTOCOL CONSTANTS
DPROT_NONE
DPROT_XMODEM
DPROT_TELINK
DPROT_XMODEM1K
DPROT_SEALINK
DPROT_ZMODEM
----------------------------------------------------------------------
BASE SORT TYPE CONSTANTS
IDX_DEFAULT - Sort by existing file order
IDX_FNAME - Sort by user's first name
IDX_LNAME - Sort by user's last name
IDX_CITY - Sort by city entry
IDX_PWD - Sort by user's password
IDX_DATE - Sort by user's last call date
IDX_PRIV - Sort by user's access level
IDX_CALLS - Sort by calls to the system
IDX_DNLD - Sort by user's total downloads
IDX_UPLD - Sort by user's total uploads
IDX_PHONE - Sort by user's telephone entry
----------------------------------------------------------------------
COLOUR CODE CONSTANTS
BLACK BLUE GREEN CYAN RED
MAGENTA BROWN LGREY DGREY LBLUE
LGREEN LCYAN LRED LMAGENTA YELLOW
WHITE
----------------------------------------------------------------------
MISCELLANEOUS CONSTANTS
NULL - A null pointer/string. Equates to (long)0
TRUE - Logical true, value (long)1
FALSE - Logical false, value (long)0
ON - Logical true, value (long)1
OFF - Logical false, value (long)0
IDENT - MUL executable identity string
VERSN - MUL executable version string
stdout - File I/O handle for standard output
stdin - File I/O handle for standard input
stderr - File I/O handle for standard error
----------------------------------------------------------------------